package com.kawa.kemanage.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Long id;
    private String userName;
    private String password;
    private String email;
    private Integer userType; // 0：管理员 1：普通用户
    private Integer gender;//0:男， 1:女
    private  Integer age;
    private String bio;
    private  String phone;
    private Integer newsFavorites;// 收藏用户
    private Integer followId;
    private Integer followerId;//关注者id(粉丝）
    private Integer followeeId;//被关注者id(关注）
    private Date followTime;//关注的时间
    private Date createDate;
    private Integer fansCount;//粉丝数量
    private  Integer followCount;//关注数量


    /**
     * 别删我的getset,电脑傻逼了不识别,我真是艹了
     * @return
     */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
}
